﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 分拣表
    /// </summary>
    public class PB_ReturnSortingList
    {
        public List<PB_ReturnSortDetail> Subdata { get; set; }
        /// <summary>
        /// 回货单主表
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public string ProjectId { get; set; }
        /// <summary>
        /// 回货日期
        /// </summary>
        public DateTime ReturnDate { get; set; }
        /// <summary>
        /// 收货方
        /// </summary>
        public string Consignee { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string StorId { get; set; }
    }



    public class PB_ReturnSortingDto: PB_ReturnSorting {
     
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 收货方名称
        /// </summary>
        public string DeptName { get; set; }
    }



    /// <summary>
    /// 分拣点击编辑
    /// </summary>
    public class PB_ReturnSortingListInfo : PB_ReturnSorting
    {

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 收货方名称
        /// </summary>
        public string DeptName { get; set; }
        public List<PB_ReturnSortDetailDTO> Subdata { get; set; }
    }

    public class PB_ReturnSortDetailDTO : PB_ReturnSortDetail {
       /// <summary>
       /// 物料名称
       /// </summary>
        public String MaterialName { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public String MaterialCode { get; set; }
        /// <summary>
        /// 物料规格
        /// </summary>
        public String MateralSpec { get; set; }

        public Double? Amount { get; set; }

        public Double? Price{ get; set; }

    }

    /// <summary>
    /// PDA 项目回货增加装车明细数据
    /// </summary>
    public class ReturnTransportBillDetailAdd {
        /// <summary>
        /// 派车单id
        /// </summary>
        public string TransportBillId { get; set; }
        /// <summary>
        /// 派车详情
        /// </summary>
        public List<ReturnTransportBillDetailList> Details { get; set; }
    }
    public class ReturnTransportBillDetailList {
        /// <summary>
        /// 物料id
        /// </summary>
        public string MaterialId { get; set; }
        public Double? ReceiptQuantity { get; set; }

    }
}
